//引入gulp文件
const gulp=require('gulp')
gulp.task('copycss',function(){
    return gulp.src('./src/css/index.css').pipe(gulp.dest('./dist/css'))
})
gulp.task('copyjs',function(){
    return gulp.src('./src/js/index.js').pipe(gulp.dest('./dist/js'))
})

gulp.task('tesk',gulp.parallel('copycss','copyjs'))
gulp.task('watch',function(){
    gulp.watch('./src/css/**',gulp.parallel('copycss'))
})